.class public final Lnet/tsapps/topdeals/b/m;
.super Landroid/app/Dialog;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field private a:Landroid/widget/Button;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 1

    invoke-direct {p0, p1}, Landroid/app/Dialog;-><init>(Landroid/content/Context;)V

    const/4 v0, 0x1

    invoke-virtual {p0, v0}, Lnet/tsapps/topdeals/b/m;->requestWindowFeature(I)Z

    const v0, 0x7f03000b

    invoke-virtual {p0, v0}, Lnet/tsapps/topdeals/b/m;->setContentView(I)V

    const v0, 0x7f05001e

    invoke-virtual {p0, v0}, Lnet/tsapps/topdeals/b/m;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lnet/tsapps/topdeals/b/m;->a:Landroid/widget/Button;

    iget-object v0, p0, Lnet/tsapps/topdeals/b/m;->a:Landroid/widget/Button;

    invoke-virtual {v0, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method


# virtual methods
.method public final onClick(Landroid/view/View;)V
    .locals 1

    iget-object v0, p0, Lnet/tsapps/topdeals/b/m;->a:Landroid/widget/Button;

    if-ne p1, v0, :cond_0

    invoke-virtual {p0}, Lnet/tsapps/topdeals/b/m;->dismiss()V

    :cond_0
    return-void
.end method
